88b3df4cc858c13303ed8e07904b2f331f937a6c,src/org/openstreetmap/josm/plugins/PluginDownloader.java,UpdateTask,finish,#,50
Before Change
@Override protected void finish() {
if (errors.length() > 0)
JOptionPane.showMessageDialog(Main.parent, tr("There were problems with the following plugins:\n\n {0}",errors));
else
JOptionPane.showMessageDialog(Main.parent, trn("{0} Plugin successfully downloaded. Please restart JOSM.", "{0} Plugins successfully downloaded. Please restart JOSM.", count, count));
}
After Change
@Override protected void finish() {
if (errors.length() > 0) {
OptionPaneUtil.showMessageDialog(
Main.parent,
tr("There were problems with the following plugins:\n\n {0}",errors),
tr("Error"),
JOptionPane.ERROR_MESSAGE
);
} else {
OptionPaneUtil.showMessageDialog(
Main.parent,